package com.aoxin.util.log;

import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.aoxin.util.enumerate.OperateType;
import com.aoxin.util.enumerate.UserType;

@Inherited
@Target({ java.lang.annotation.ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface LogInfo {

	// 操作类型
	OperateType operateType();

	// 内容
	String content() default "";

	// 用户类型
	UserType[] userType() default UserType.EMPLOYEE;
}